﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
             用户名： <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <br />
            密码：&nbsp; <asp:TextBox ID="TextBox2" runat="server" type="password"></asp:TextBox>
            <br />
           性别： <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                <asp:ListItem>男</asp:ListItem>
                <asp:ListItem>女</asp:ListItem>
            </asp:RadioButtonList>
            爱好：<asp:CheckBoxList ID="CheckBoxList1" runat="server">
                <asp:ListItem>唱</asp:ListItem>
                <asp:ListItem>跳</asp:ListItem>
                <asp:ListItem>Rap</asp:ListItem>
                <asp:ListItem>篮球</asp:ListItem>
            </asp:CheckBoxList>
          
            <br />
            省份：<asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack ="true"></asp:DropDownList>
            <br />
            地级市：<asp:DropDownList ID="DropDownList2" runat="server">
            </asp:DropDownList>
            <br />
            其他信息：<asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine"></asp:TextBox>
            <br />
            <br />

            上传头像:<asp:FileUpload ID="FileUpload1" runat="server" />
            <br />
            <asp:Button ID="Button1" runat="server" Text="提交" OnClick="Button1_Click"/>
            <br />
            <br />
            <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            <br />
            <asp:Literal ID="Literal2" runat="server"></asp:Literal>
            <br />
            <asp:Literal ID="Literal3" runat="server"></asp:Literal>
            <br />
            <asp:Literal ID="Literal4" runat="server"></asp:Literal>
            <br />
            <asp:Literal ID="Literal5" runat="server"></asp:Literal>
            <br />
            <asp:Image ID="Image1" runat="server" />
        </div>
    </form>
</body>
</html>
